<?php get_header();?>

<body>
<div id="container">
	<!-- baner -->
	<?php include TEMPLATEPATH.'/views/view-header.php';?>
	<!-- end banner-->
	<!-- menu -->
	<?php include TEMPLATEPATH.'/views/view-menu.php';?>
	<div class="body_content">
	<div id="content">
		
		<!-- left_comlumds -->
		<?php get_sidebar();?>
		<!--end left_comlumds -->
		<!-- right_comlumds -->
		<div class="right_comlumds">
			<!-- right_box_1 -->
			<div class="box_1_right">
				<div class="title_right">
					
					<div class="right_title_r3">
						<img src="<?php echo WP_MYSITE_TEMPLATE_URL;?>/images/icon_title.jpg" alt="" />
						<?php 
							$allsearch = &new WP_Query("s=$s&showposts=-1"); $key = wp_specialchars($s, 1); $count_search = $allsearch->post_count;
						?>
						Kết quả với từ khóa "<?php echo $_GET['s'];?>" : <?php echo $count_search;?>
					</div>
				</div>
				<div class="content_about">
					<div class="content_sp">
						
						<?php 
						//$sanpham = db_query_post_in_posttype_paged(20, 'post', $wpdb->prefix.'display', 'display', $paged);
						//query_posts($sanpham);
						include TEMPLATEPATH.'/views/loop-sp.php';
						?>						
						
						
					</div>
					
					<div class="box_icon">
						<div class="my-paging">
						<?php bt_paginate();?>
						</div>
						
					</div>
				</div>
			</div>
			<!-- end right_box_1 -->
			
		</div>
		<!-- right_comlumds -->
	</div>
	<!-- end content-->
</div>
	<!-- end content-->
	<?php get_footer();?>
